import Vue from 'vue'
import Router from 'vue-router'
// import Main from '@/views/Main'
import Index from '@/views/Index'

import OrderAdd from '@/views/OrderAdd'
import OrderSearch from '@/views/OrderSearch'
import Result from '@/views/Result'




Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index     
    },
    {
      path: '/order-add',
      name: 'OrderAdd',
      component: OrderAdd     
    },
   
    {
      path: '/order-search',
      name: 'OrderSearch',
      component: OrderSearch     
    },
   
    {
      path: '/result',
      name: 'Result',
      component: Result
    },
   
    
  ]
})
